package com.barneyx.mshinfoplatform.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum EFileType implements IEnum<String>{
    IMAGE(0,"image"),
    VIDEO(1,"video"),
    FILE(2,"file");

    EFileType(int code,String value){
        this.code = code;
        this.value = value;
    }

    @EnumValue
    private final int code;
    private final String value;
}
